package com.mysiteforme.admin.entity;

import java.util.Date;
import java.util.List;
import java.util.Set;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mysiteforme.admin.base.DataEntity;

/**
 * <p>
 * 消息推送表
 * </p>
 *
 * @author wangl
 * @since 2019-10-22
 */
@TableName("electricity_message_push")
public class ElectricityMessagePush extends DataEntity<ElectricityMessagePush> {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String stringId;
    /**
     * 消息类型
     */
    @TableField("message_type")
    private String messageType;
    /**
     * 是否微信推送
     */
    @TableField("is_wechat")
    private String isWechat;
    /**
     * 微信模板id
     */
    @TableField("freemaker_id")
    private String freemakerId;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 发送状态
     */
    @TableField("push_status")
    private String pushStatus;
    /**
     * 发送时间
     */
    @TableField("push_date")
    private Date pushDate;
    /**
     * 是否系统消息
     */
    @TableField("type")
    private String type;
    /**
     * 发送状态
     */
    @TableField("is_already_read")
    private String isAlreadyRead;

    /**
     * 发送人
     */
    @TableField("push_user")
    private String pushUser;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 模板名称
     */
    @TableField(exist = false)
    private String freemakerName;
    /**
     * 微信模板字段key
     */
    @TableField(exist = false)
    private String wxCode;
    /**
     * 微信模板字段描述
     */
    @TableField(exist = false)
    private String wxDesc;

    /****
     *微信描述详情列表
     */
    @TableField(exist = false)
    private List<ElectricityMessagePushDesc> messagePushDescList;

    public List<ElectricityMessagePushDesc> getMessagePushDescList() {
        return messagePushDescList;
    }

    public void setMessagePushDescList(List<ElectricityMessagePushDesc> messagePushDescList) {
        this.messagePushDescList = messagePushDescList;
    }

    public String getStringId() {
        return stringId;
    }

    public void setStringId(String stringId) {
        this.stringId = stringId;
    }

    public String getIsAlreadyRead() {
        return isAlreadyRead;
    }

    public void setIsAlreadyRead(String isAlreadyRead) {
        this.isAlreadyRead = isAlreadyRead;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getIsWechat() {
        return isWechat;
    }

    public void setIsWechat(String isWechat) {
        this.isWechat = isWechat;
    }

    public String getFreemakerId() {
        return freemakerId;
    }

    public void setFreemakerId(String freemakerId) {
        this.freemakerId = freemakerId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPushStatus() {
        return pushStatus;
    }

    public void setPushStatus(String pushStatus) {
        this.pushStatus = pushStatus;
    }

    public Date getPushDate() {
        return pushDate;
    }

    public void setPushDate(Date pushDate) {
        this.pushDate = pushDate;
    }

    public String getPushUser() {
        return pushUser;
    }

    public void setPushUser(String pushUser) {
        this.pushUser = pushUser;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFreemakerName() {
        return freemakerName;
    }

    public void setFreemakerName(String freemakerName) {
        this.freemakerName = freemakerName;
    }

    public String getWxCode() {
        return wxCode;
    }

    public void setWxCode(String wxCode) {
        this.wxCode = wxCode;
    }

    public String getWxDesc() {
        return wxDesc;
    }

    public void setWxDesc(String wxDesc) {
        this.wxDesc = wxDesc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ElectricityMessagePush{" +
                ", messageType=" + messageType +
                ", isWechat=" + isWechat +
                ", freemakerId=" + freemakerId +
                ", userId=" + userId +
                ", pushStatus=" + pushStatus +
                ", pushDate=" + pushDate +
                ", pushUser=" + pushUser +
                ", title=" + title +
                ", content=" + content +
                ", type=" + type +
                ", freemakerName=" + freemakerName +
                ", wxCode=" + wxCode +
                ", wxDesc=" + wxDesc +
                ",isAlreadyRead=" + isAlreadyRead +
                "}";
    }
}
